package com.jiutong.meipengdai.entity;

import java.util.List;

/**
 * Created by 78 on 2017/6/9.
 */

public class AddressBean extends BaseRespond {


    /**
     * data : {"addresss":[{"city":"深圳市","detail":"深圳","district":"南山区","id":"1231231312164","prior":"0","province":"广东省","recipients":"卜典凡","telphone":"13555555555"},{"city":"深圳市","detail":"深圳","district":"南山区","id":"1231231312165","prior":"0","province":"广东省","recipients":"卜典凡","telphone":"13555555555"},{"city":"深圳市","detail":"中国深圳","district":"南山区","id":"1231231312172","prior":"1","province":"广东省","recipients":"卜典凡","telphone":"13555555555"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<AddresssBean> addresss;

        public List<AddresssBean> getAddresss() {
            return addresss;
        }

        public void setAddresss(List<AddresssBean> addresss) {
            this.addresss = addresss;
        }

        public static class AddresssBean {
            /**
             * city : 深圳市
             * detail : 深圳
             * district : 南山区
             * id : 1231231312164
             * prior : 0
             * province : 广东省
             * recipients : 卜典凡
             * telphone : 13555555555
             */

            private String city;
            private String detail;
            private String district;
            private String id;
            private String prior;
            private String province;
            private String recipients;
            private String telphone;
            private String areaCode;
            private boolean isEdit = false;

            public String getAreaCode() {
                return areaCode;
            }

            public void setAreaCode(String areaCode) {
                this.areaCode = areaCode;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getDetail() {
                return detail;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isEdit() {
                return isEdit;
            }

            public void setEdit(boolean edit) {
                isEdit = edit;
            }

            public String getPrior() {
                return prior;
            }

            public void setPrior(String prior) {
                this.prior = prior;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getRecipients() {
                return recipients;
            }

            public void setRecipients(String recipients) {
                this.recipients = recipients;
            }

            public String getTelphone() {
                return telphone;
            }

            public void setTelphone(String telphone) {
                this.telphone = telphone;
            }

            @Override
            public String toString() {
                return "AddresssBean{" +
                        "city='" + city + '\'' +
                        ", detail='" + detail + '\'' +
                        ", district='" + district + '\'' +
                        ", id='" + id + '\'' +
                        ", prior='" + prior + '\'' +
                        ", province='" + province + '\'' +
                        ", recipients='" + recipients + '\'' +
                        ", telphone='" + telphone + '\'' +
                        '}';
            }
        }
    }
}



